package org.example.hospital_frontend.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {

    @GetMapping("/login")
    public String loginPage() {
        return "login";
    }

    @GetMapping("/register")
    public String registerPage() {
        return "register";
    }

    @GetMapping("/personalCenter")
    public String indexPage() {
        return "personalCenter";
    }

    @GetMapping("/adminUserList")
    public String adminUserList() {
        return "adminUserList";
    }

    @GetMapping("/adminUserEdit")
    public String adminUserEdit() {
        return "adminUserEdit";
    }

    @GetMapping("/adminPersonalCenter")
    public String adminPersonalCenter() {
        return "adminPersonalCenter";
    }

    @GetMapping("/adminMedicalTemplate")
    public String adminMedicalTemplate() {
        return "adminMedicalTemplate";
    }

    @GetMapping("/adminMedicalRecordList")
    public String adminMedicalRecordList() {
        return "adminMedicalRecordList";
    }

    @GetMapping("/adminStatistics")
    public String adminStatistics() {
        return "adminStatistics";
    }

    @GetMapping("/personalInfo")
    public String personalInfoContent() {
        return "personalInfo";
    }

    @GetMapping("/myMedicalRecords")
    public String myMedicalRecordsContent() {
        return "myMedicalRecords";
    }


    @GetMapping("/registerAppointment")
    public String registerAppointmentContent() {
        return "registerAppointment";
    }

    @GetMapping("/adminUpdateRequest")
    public String adminUpdateRequestContent() {
        return "adminUpdateRequest";
    }
}